package com.un.ebs.invoice.dto;

import com.un.ebs.invoice.enums.InvoiceTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/10/15 13:55
 */
@Data
public class InvoiceItemQueryRequest {

    @NotNull(message = "必须指定发票类型")
    private InvoiceTypeEnum invoiceType;

    private String entId;

    private String skuCode;

    @NotNull(message = "必须指定发票年份")
    private Integer accountYear;

    private Integer accountMonth;

    private int pageSize;

    private int pageIndex;

}
